package com.coding.pojo;

import java.io.Serializable;
import java.util.List;
import java.util.Objects;

/**
 * again
 *
 * @author
 */
public class Again implements Serializable {
    private Integer again_id;

    private Integer again_user_id;

    private String again_kind;

    private Integer again_way_id;

    private String again_text;

    private String again_name;

    private String again_tag;

    private String again_more1;

    private String again_more2;

    private String again_more3;
    private Poet poet;
    private List<Againmark> againmarkList;
    private static final long serialVersionUID = 1L;

    public Poet getPoet() {
        return poet;
    }

    public void setPoet(Poet poet) {
        this.poet = poet;
    }

    public Integer getAgain_id() {
        return again_id;
    }

    public void setAgain_id(Integer again_id) {
        this.again_id = again_id;
    }

    public Integer getAgain_user_id() {
        return again_user_id;
    }

    public void setAgain_user_id(Integer again_user_id) {
        this.again_user_id = again_user_id;
    }

    public String getAgain_kind() {
        return again_kind;
    }

    public void setAgain_kind(String again_kind) {
        this.again_kind = again_kind;
    }

    public Integer getAgain_way_id() {
        return again_way_id;
    }

    public void setAgain_way_id(Integer again_way_id) {
        this.again_way_id = again_way_id;
    }

    public String getAgain_text() {
        return again_text;
    }

    public void setAgain_text(String again_text) {
        this.again_text = again_text;
    }

    public String getAgain_name() {
        return again_name;
    }

    public void setAgain_name(String again_name) {
        this.again_name = again_name;
    }

    public String getAgain_tag() {
        return again_tag;
    }

    public void setAgain_tag(String again_tag) {
        this.again_tag = again_tag;
    }

    public String getAgain_more1() {
        return again_more1;
    }

    public void setAgain_more1(String again_more1) {
        this.again_more1 = again_more1;
    }

    public String getAgain_more2() {
        return again_more2;
    }

    public void setAgain_more2(String again_more2) {
        this.again_more2 = again_more2;
    }

    public String getAgain_more3() {
        return again_more3;
    }

    public void setAgain_more3(String again_more3) {
        this.again_more3 = again_more3;
    }

    @Override
    public String toString() {
        return "Again{" +
                "again_id=" + again_id +
                ", again_user_id=" + again_user_id +
                ", again_kind='" + again_kind + '\'' +
                ", again_way_id=" + again_way_id +
                ", again_text='" + again_text + '\'' +
                ", again_name='" + again_name + '\'' +
                ", again_tag='" + again_tag + '\'' +
                ", again_more1='" + again_more1 + '\'' +
                ", again_more2='" + again_more2 + '\'' +
                ", again_more3='" + again_more3 + '\'' +
                ", poet=" + poet +
                ", againmarkList=" + againmarkList +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Again again = (Again) o;
        return Objects.equals(again_id, again.again_id) &&
                Objects.equals(again_user_id, again.again_user_id) &&
                Objects.equals(again_kind, again.again_kind) &&
                Objects.equals(again_way_id, again.again_way_id) &&
                Objects.equals(again_text, again.again_text) &&
                Objects.equals(again_name, again.again_name) &&
                Objects.equals(again_tag, again.again_tag) &&
                Objects.equals(again_more1, again.again_more1) &&
                Objects.equals(again_more2, again.again_more2) &&
                Objects.equals(again_more3, again.again_more3) &&
                Objects.equals(poet, again.poet) &&
                Objects.equals(againmarkList, again.againmarkList);
    }

    @Override
    public int hashCode() {
        return Objects.hash(again_id, again_user_id, again_kind, again_way_id, again_text, again_name, again_tag, again_more1, again_more2, again_more3, poet, againmarkList);
    }

    public List<Againmark> getAgainmarkList() {
        return againmarkList;
    }

    public void setAgainmarkList(List<Againmark> againmarkList) {
        this.againmarkList = againmarkList;
    }
}